<?php

include("base_class.php");
$base_obj= new BaseClass();
 $q=$_GET["q"];

$res="select Email from users where Email='".$q."'";

$res = $base_obj->exec_query($res);
 $val = mysql_num_rows($res);
if ($val==1)
{
echo '<p style="color:#FF0000>'."User  Exists".'</p>';
}



?>

